﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Domain.Entities.Auditing;
using JPW.OnlinePaperSubmissionSystem.Authorization.Users;

namespace JPW.OnlinePaperSubmissionSystem.Project
{
    [Table("Announcements")]
    public class Announcement : FullAuditedEntity<long>
    {
        public virtual string Title { get; set; }

        public virtual string Content { get; set; }

        public virtual DateTime? CreatTime { get; set; }

        public virtual int status { get; set; }
        [ForeignKey("UserId")]
        public virtual User User { get; set; }
        public virtual long? UserId { get; set; }
    }
}


